﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MTC.Common.DTO
{
    public class Driver
    {
        private int _DriverId;
        private string _Title;
        private string _FirstName;
	    private string _LastName;
        private string _Street1;
	    private string _Street2;
        private string _Suburb;
        private string _State;
        private string _Postcode;
        private string _Phone;
	    private string _Mobile1;
        private string _Mobile2;
        private string _Licience;
        private DateTime? _DriverLicienceExpiry;
        private string _TaxiLicience;
        private string _ABN;
        private DateTime? _DateOfBirth;
        private DateTime? _CommencementDate;
        private string _Nickname;
        private DateTime? _TaxiLicienceExpiry;
        private string _ETagNumber;
        private string _ETagAccount;
        private bool? _Active;
	    private int _Gender;
        private DriverRate _driverRate;
        private List<DriverComment> _driverComments;
        public int DriverId
        {
            get { return _DriverId; }
            set { _DriverId = value; }
        }

        public string Title
        {
            get { return _Title; }
            set { _Title = value; }
        }

        public string FirstName
        {
            get { return _FirstName; }
            set { _FirstName = value; }
        }

        public string LastName
        {
            get { return _LastName; }
            set { _LastName = value; }
        }

        public string Name
        {
            get { return _FirstName + " " + _LastName; }
        }

        public string Street1
        {
            get { return _Street1; }
            set { _Street1 = value; }
        }

        public string Street2
        {
            get { return _Street2; }
            set { _Street2 = value; }
        }

        public string Suburb
        {
            get { return _Suburb; }
            set { _Suburb = value; }
        }

        public string State
        {
            get { return _State; }
            set { _State = value; }
        }

        public string Postcode
        {
            get { return _Postcode; }
            set { _Postcode = value; }
        }

        public string Phone
        {
            get { return _Phone; }
            set { _Phone = value; }
        }

        public string Mobile1
        {
            get { return _Mobile1; }
            set { _Mobile1 = value; }
        }

        public string Mobile2
        {
            get { return _Mobile2; }
            set { _Mobile2 = value; }
        }

        public string Licience
        {
            get { return _Licience; }
            set { _Licience = value; }
        }

        public DateTime? DriverLicienceExpiry
        {
            get { return _DriverLicienceExpiry; }
            set { _DriverLicienceExpiry = value; }
        }

        public string TaxiLicience
        {
            get { return _TaxiLicience; }
            set { _TaxiLicience = value; }
        }

        public string ABN
        {
            get { return _ABN; }
            set { _ABN = value; }
        }

        public DateTime? DateOfBirth
        {
            get { return _DateOfBirth; }
            set { _DateOfBirth = value; }
        }

        public DateTime? CommencementDate
        {
            get { return _CommencementDate; }
            set { _CommencementDate = value; }
        }

        public string Nickname
        {
            get { return _Nickname; }
            set { _Nickname = value; }
        }

        public DateTime? TaxiLicienceExpiry
        {
            get { return _TaxiLicienceExpiry; }
            set { _TaxiLicienceExpiry = value; }
        }

        public string ETagNumber
        {
            get { return _ETagNumber; }
            set { _ETagNumber = value; }
        }

        public string ETagAccount
        {
            get { return _ETagAccount; }
            set { _ETagAccount = value; }
        }

        public bool? Active
        {
            get { return _Active; }
            set { _Active = value; }
        }

        public int Gender
        {
            get { return _Gender; }
            set { _Gender = value; }
        }

        public DriverRate Rates
        {
            get { return _driverRate; }
            set { _driverRate = value; }
        }

        public List<DriverComment> Comments
        {
            get { return _driverComments; }
            set { _driverComments = value; }
        }
    }
}
